

 hi there, this is my attempt to fix keyboard bug in trw ver 1.23.
 i repeat, it's only for trw ver 1.23, NOT v1.22. as 5 said that
 trw1.23 locked the keyboard, press ctrl then it work again. 

 and after having fun with keyboard stuff, i decide to put patch 
 info only, not a plugin [it is impractical to do so]. and btw, i
 can not guarantee that this patch would work, so thats why i need
 someone else whose computer was ALWAYS/ALMOST all the time locked
 up when running trw v1.23. in fact, in my computer, it is happen 
 sometimes and un-determinable, so i felt difficult to verify was
 my patch work or not. so, please test it continously to see if it
 work or not.

 to do patch, open trw2000.sys file with your favorite hex-editor.
 if you want to backup, backup it first ;p

    ==> First part of patch
	actually i dont know what this opcode used for [out E1,ax].
	i found in a documentation that this port address are re-
	served. so, to avoid hazard to operating system, i just nop
	it [0x90]. and somewhat a wrong flag testing. see below :

	  RVA       old           new					===================================
	.1CBB2  out 0E1h, ax    nop [twice]
	.1CBB7  out 0E1h, ax    nop [twice]
	.1CBE6  test al, 20h	test al,02h
	.1CC61  out 0E1h, ax    nop [twice]
	.1CC7E  out 0E1h, ax    nop [twice]


    ==> Second part of patch
	this one was figured by trying to change trw hotkey. after
	testing it, i came into conclusion that some flag in hotkey
	define need to be replaced.

	  RVA      old                   new
	=============================================
	.1CD5E  mov ebx,FB8B0080h   mov ebx,00800080h
	.1CD63  mov cl,2            mov cl,8
	.1CD7D  mov ebx,FB8B0080h   mov ebx,00800080h
	.1CD82  mov cl,2            mov cl,8


 and yup! it finish. you can try it now ;)
 if it you find that this patch was not work, then please drop me
 a line at daner@go.cc or post it to forum. but, dont hope to much
 from me, because i am newbie to keyboard stuff ;p
 greets to all trw fan ;-)

 disclaimer
 ==========
 i am take no guarantee that this patch will work. and take no res-
 ponsible if it would cause your computer to be crash or cause ha-
 zardness. this patch info had been made public, but i am still the
 origin of this information. so, no one should fake this informati-
 on for his/her own benefit.

 courtesy of dion
 copyright @2002 Dec 1
